package com.ruoyi.bysj.mapper;

import java.util.List;
import com.ruoyi.bysj.domain.SysGoods;
import com.ruoyi.common.core.domain.entity.SysRole;

/**
 * 仓库存储Mapper接口
 * 
 * @author laow
 * @date 2021-10-18
 */
public interface SysGoodsMapper 
{
    /**
     * 查询仓库存储
     * 
     * @param goodsId 仓库存储主键
     * @return 仓库存储
     */
    public SysGoods selectSysGoodsByGoodsId(Long goodsId);

    /**
     * 查询仓库存储列表
     * 
     * @param sysGoods 仓库存储
     * @return 仓库存储集合
     */
    public List<SysGoods> selectSysGoodsList(SysGoods sysGoods);

    public List<SysGoods> selectGoodsAll();

    /**
     * 新增仓库存储
     * 
     * @param sysGoods 仓库存储
     * @return 结果
     */
    public int insertSysGoods(SysGoods sysGoods);

    /**
     * 修改仓库存储
     * 
     * @param sysGoods 仓库存储
     * @return 结果
     */
    public int updateSysGoods(SysGoods sysGoods);

    /**
     * 删除仓库存储
     * 
     * @param goodsId 仓库存储主键
     * @return 结果
     */
    public int deleteSysGoodsByGoodsId(Long goodsId);

    /**
     * 批量删除仓库存储
     * 
     * @param goodsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysGoodsByGoodsIds(Long[] goodsIds);
}
